package chapter_2;

import java.util.Scanner;

public class Test5 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入您的年龄：");
        int age = scanner.nextInt();
        switch (age){
            default:
                System.out.println("以上都不是");
                break;
            case 18:
            case 16:
            case 14:
                System.out.println("你 要么14 要么16 要么18");
                break;
        }
    }
}
